/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package seso;

import javax.swing.JOptionPane;

/**
 *
 * @author Administrator
 */
public class RDiglogShortcutSettingButton extends javax.swing.JButton {

    public RDiglogShortcutSettingButton() {
        super();
        setSize(20, 20);
        setPreferredSize(new java.awt.Dimension(20, 20));
        
        setIcon(Util.getUserImageIcon("resources/DlgShortcutSettingIcon.png"));
        setPressedIcon(Util.getUserImageIcon("resources/DlgShortcutSettingIcon.png"));
        setRolloverIcon(Util.getUserImageIcon("resources/DlgShortcutSettingIcon.png"));

        setText("");
        setBorder(null);
        setBorderPainted(false);
        setContentAreaFilled(false);
        setFocusable(false);
        
        addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                JOptionPane.showMessageDialog(null, "If you want to change shortcut seting, please ask IT department for help","", JOptionPane.INFORMATION_MESSAGE);
            }
        });
    }
}
